Information supply method and system, and word string supply system

ABSTRACT

An Information supply method for displaying a message received or generated by a first electronic device on a display of a second electronic device. The information supply method includes the steps of: receiving a request of displaying the message; generating a word string according to the request, wherein the word string includes at least one word pattern and at least one graph encoding correspondingly representing the at least one word pattern; transmitting the word pattern and the graph encoding from the first electronic device to the second electronic device; and receiving the at least one word pattern and the at least one graph encoding, and displaying the at least one word pattern corresponding to the message received or generated by the first electronic device on the display according to the graph encoding.

CROSS-REFERENCE TO RELATED APPLICATIONS

This Non-provisional application claims priority under 35 U.S.C. §119(a) on Patent Application No(s). 103119477 filed in Taiwan, Republic of China on Jun. 5, 2014, the entire contents of which are hereby incorporated by reference.

BACKGROUND

1. Field of Invention

The invention relates to an information supply method and system and, in particular, to an information supply method and system that a word pattern of the content of a message is provided from a handheld electronic device with more hardware resources to a wearable device to display.

2. Related Art

Conventionally, to display Chinese words on a graphical user interface of a device having a display, a Chinese word library must be built in that device in advance. When displaying a word, the Chinese word to be shown is retrieved from the Chinese word library according to a graph encoding. However, the size of the library is limited by the memory space of the electronic device. Take the traditional Chinese as an example, the standard font table of commonly-used Chinese words and standard font table of uncommonly-used Chinese words include eleven thousands of Chinese words. A huge memory space is required to store them in the word library of the electronic device. Therefore, for an electronic device having limited memory space, such as a smart watch, how to display words completely becomes a difficult challenge during the product development process.

SUMMARY

An objective of the invention is to provide an information supply method that separates the generation and the display of a word pattern.

Another objective of the invention is to provide an information supply system and the word string supply system for executing the method mentioned above.

The information supply method of an embodiment of the invention is for displaying a message received or generated by a first electronic device on a display of a second electronic device. The information supply method includes the steps of: receiving a request of displaying the message, wherein the request is generated according to the message received or generated by the first electronic device; generating a word string according to the request, wherein the word string includes at least one word pattern and at least one graph encoding correspondingly representing the at least one word pattern; transmitting the word pattern and the graph encoding from the first electronic device to the second electronic device; and receiving the word pattern and the graph encoding, and displaying the word pattern corresponding to the message received or generated by the first electronic device on the display according to the graph encoding.

The information supply system of an embodiment of the invention is for displaying a message received or generated by a first electronic device on a display of a second electronic device. The information supply system includes a request receiving module, a string generating module, a string transmission module and a string displaying module. The request receiving module receives a request of displaying the message, wherein the request is generated according to the message received or generated by the first electronic device. The string generating module generates a word string according to the request, wherein the word string includes at least one word pattern and at least one graph encoding correspondingly representing the at least one word pattern. The string transmission control module transmits the word pattern and the graph encoding from the first electronic device to the second electronic device. The string displaying module receives the word pattern and the graph encoding, and displaying the word pattern corresponding to the message received or generated by the first electronic device on the display according to the graph encoding.

The word string supply system of the invention is for a first electronic device, wherein the first electronic device is capable of performing a signal communication with a second electronic device. The word string supply system includes a request receiving module, a string generating module and a string transmission module. The request receiving module receives a request of displaying the message, wherein the request is generated according to the message received or generated by the first electronic device. The string generating module generates a word string according to the request, wherein the word string includes at least one word pattern and at least one graph encoding correspondingly representing the at least one word pattern. The string transmission control module transmits the word pattern and the graph encoding from the first electronic device to the second electronic device.

The information supply method and system separates the generation and the display of the content of the message, so that the electronic device having smaller memory space, such as a smart watch, is responsible for the display of the message only, while the generation of the content of the message, that is, the generation of the word pattern and the corresponding graph encoding, is handled by the electronic device having larger memory space. With such technique, the issue of the incompleteness of the word library of the electronic device having smaller memory space can be solved

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a system architecture diagram of the information supply system and the word string supply system according to an embodiment of the invention.

FIG. 2 is a flowchart of the information supply method according to an embodiment of the invention.

DETAILED DESCRIPTION OF THE EMBODIMENT

The present invention will be apparent from the following detailed description, which proceeds with reference to the accompanying drawings, wherein the same references relate to the same elements.

First, please refer to FIG. 1, which is a system diagram of the information supply system according to an embodiment of the invention.

As shown in FIG. 1, the information supply system 1 of the embodiment includes a word string supply system 10 and a message displaying system 20. The word string supply system 10 is disposed in a first electronic device 90 having a first wireless transmission module 91, and the message displaying system 20 is disposed in a second electronic device 80 having a second wireless transmission module 81, a display 82 and a buffer 83. The second electronic device 80 has less storage resource than the first electronic device 90. In other words, the internal memory space of the second electronic device 90 is smaller than the first electronic device 90, and therefore the second electronic device 90 cannot store too many word patterns. The first electronic device 90 and the second electronic device 80 can transmit data with each other via the communication link between the first wireless transmission module 91 and the second wireless transmission module 81. In the embodiment of the invention, the first electronic device 90 is a smartphone, the second electronic device 80 is a smart watch, and the first wireless transmission module 91 and the second wireless transmission module 81 may be Bluetooth transmission devices. However, the invention is not limited therein.

The word string supply system 10 according to the embodiment of the invention includes a request receiving module 11, a string generating module 12 and a string transmission control module 13. The message displaying system 20 includes a string displaying module 21 and a storage control module 23. In the embodiment of the invention, the modules mentioned above are implemented by software programs. However, the invention is not so limited. Each module may be a hardware device, firmware, a circuit or any suitable configuration.

In one embodiment of the invention, the request receiving module 11 receives a request of displaying a message generated at the first electronic device 90. The request of displaying the message is generated according to the message received or generated by the first electronic device 90. For example, the user can set in advance to generate the request of displaying a real-time message immediately when the first electronic device 90 receives the real-time message from another electronic device. After that, once the first electronic device receives a real-time message from another electronic device, the request receiving module 11 receives a request of displaying a message (a request of displaying a real-time message). The user can also set to generate a request of displaying a prompt about the exhaustion of the battery power when only 20% power remains in the battery. With such setting, once the battery power of the first electronic device 90 has only 20% left, the request receiving module 11 receives the request of displaying the message (the request of displaying the exhaustion of battery power). Note that except for the request of displaying a real-time message about the exhaustion of the battery power, the user can also set to receive a request of displaying a message under other situations.

The string generating module 12 generates a word string according to the request received at the request receiving module 11, wherein the word string has at least one word pattern and at least one graph encoding corresponding to the word pattern. Take the request of displaying the real-time message mentioned above as an example, assuming that the content of the message is “

”, the string generating module 12 generates a word string according to this request after receiving the request of displaying a real-time message, wherein the word string includes two word patterns of “

” and “

”, and the two graph encodings representing these word patterns. Since the generation of the word patterns of the corresponding relationships between the word patterns and the graph encodings are existing data structure processing techniques, the details are omitted here for concise purpose.

The string transmission control module 13 transmits the word patterns and the graph encodings generated by the string generating module 12 from the first electronic device 90 to the second electronic device 80. Take the above embodiment as an example, after the string generating module 12 generates the two word patterns of “

” and “

” and the two graph encodings representing these word patterns, the string transmission control module 13 transmits the word patterns of “

” and “

” and the graph encodings representing these word patterns respectively from the first electronic device 90 to the second electronic device 80 via the connection between the first wireless transmission control module 91 and the second wireless transmission module 81.

In one embodiment of the invention, when the generated word pattern and the graph encodings are in plural, the string transmission control module 13 judges whether repetitive word patterns exist before transmitting the word patterns and the graph encodings. If yes, when transmitting the word patterns and the graph encodings, the string transmission control module 13 transmits all graph encodings and non-repetitive word patterns from the first electronic device 90 to the second electronic device 80. If no, when transmitting the word patterns and the graph encodings, the string transmission control module 13 transmits all word patterns and graph encodings from the first electronic device 90 to the second electronic device 80. That is, no matter whether repetitive word patterns exist, the graph encodings with the same sequence to the texts in the word string are transmitted from the first electronic device 90 to the second electronic device 80. For example, assuming that the generated word string includes four word patterns of “

”, “

”, “

” and “

” and four graph encodings representing these four word patterns, the string transmission control module 13 judges that two repetitive word patterns “

” and “

” exist in the word patterns before transmitting them. When transmitting the word patterns and graph encodings, the string transmission control module 13 transmits only three word patterns of “

”, “

” and “

” and four graph encodings with the same sequence to the texts. To the contrary, if the generated word string includes two word patterns of “

” and “

” and two graph encodings representing these two word patterns respectively, the string transmission control module 13 transmits all word patterns and graph encodings to the second electronic device 80 when transmitting word patterns and graph encodings.

The string displaying module 21 receives the word patterns and the graph encodings transmitted from the string transmission control module 13, and displaying the message received or generated by the first electronic device 90 on the display 82 according to the graph encodings. For example, when the string displaying module 21 receives two word patterns of “

” and “

” and the graph encodings representing these two word patterns, the string displaying module 21 displays the two word patterns of “

” and “

” on the display 82 according to the graph encodings received. “

” is the content of the real-time message originally received by the first electronic device. In another example, when the string displaying module 21 receives three word patterns of “

”, “

”, and “

”, two graph encodings representing “

”, and two graph encodings representing “

” and “

” respectively, since the string displaying module 21 receives two graph encodings representing “

”, it still displays two “

” on the display 82 according to the graph encodings. That is, the message displayed on the display 82 of the second electronic device 80 is the same to the real-time message originally received by the first electronic device, which is “

”. Similarly, the message generated when the first electronic device 90 is run out of power, such as “

”, can be displayed on the display 82 of the second electronic device 80 by executing the mechanism described above. Therefore, the user can be notified in time by the second electronic device 80 that the battery power of the first electronic device 90 is going to be exhausted.

In one embodiment of the invention, the storage control module 23 judges whether the word pattern received by the string displaying module 21 is the same to the stored word pattern stored in the second electronic device 80. When it is judged that the word pattern is the same to the stored word pattern, the word pattern being the same to the stored word pattern is not stored in the buffer 83. When the word pattern is not the same to the stored word pattern, the word pattern being not the same to the stored word pattern is stored in the buffer 83. Take the above embodiment as an example, assuming that the string displaying module 21 receives three word patterns of “

”, “

”, and “

” and four graph encodings representing four word patterns of “

”, “

”, “

”, and “

”, respectively, if the word pattern of “

” is already stored in the buffer 83 of the second electronic device 80 (which is a stored word pattern), the storage control module 23 only stores the word patterns of “

” and “

” and the graph encodings representing the four word patterns of “

”, “

”, “

”, and “

” in the buffer 83 without storing the word pattern of “

” in the buffer 83.

Afterward please refer to FIG. 1 and FIG. 2 simultaneously, wherein FIG. 2 is a flowchart of the information supply method according to an embodiment of the invention.

First, step S1 is executed: receiving a request of displaying a message.

As shown in FIG. 1, when the first electronic device 90 generates a request of displaying a message when the message is received or generated, such as a request of displaying a real-time message when the real-time message is received from another electronic device or a request of displaying a prompt message when a prompt message is generated by the first electronic device, the request receiving module 11 receives this request of displaying the message.

Then step S2 is executed: generating a word string according to the request.

After the request receiving module 1 receives the request of displaying the message, the string generating module 12 can generate a word string according to the request received by the request receiving module 11. The contents of the word string vary depending on the contents of the request. The word string generated may include a word pattern and the graph encoding correspondingly representing the word pattern. For example, when the real-time message received by the first electronic device 90 is composed of one single word such as “

”, the word string generated would include the word pattern of the word “

” and the graph encodings representing the word “

”. When the real-time message is composed of multiple words such as “

”, then the word string generated would include four word patterns of “

”, “

”, “

” and “

”, and four graph encodings representing the four word patterns. In other words, the content and numbers of the word pattern and the correspondingly representing graph encodings depend on the content of the message corresponding to the request.

Step S3 is executed: judging whether repetitive word patterns exist in the word patterns.

After the word string is generated and before the word pattern and the graph encoding is transmitted from the first electronic device 90 to the second electronic device 80 (that is, before executing steps S4 and S5), the string transmission control module 13 judges whether repetitive word patterns exist in the word patterns. If yes, when transmitting word patterns and graph encodings, the string transmission control module 13 transmits only the non-repetitive word patterns to the second electronic device 80, while all graph encodings are still transmitted to the second electronic device 80 (that is, executing step S4). If no, the string transmission control module 13 transmits all word patterns and graph encodings to the second electronic device 80 (that is executing step S5). For example, assuming that the word string generated includes four word patterns of “

”, “

”, “

” and “

” and four graph encodings correspondingly representing these four word patterns, when transmitting the word patterns and graph encodings from the first electronic device 90 to the second electronic device 80, the string transmission control module 13 transmits only three word patterns of “

”, “

” and “

” and all four graph encodings. Another example is that when the generated string massage includes two word patterns of “

” and “

” and the graph encodings correspondingly representing these two word patterns, since no repetitive word patterns exist, the string transmission control module 13 transmits all the two word patterns of “

” and “

” and the two graph encodings correspondingly representing these two word patterns.

Step S6 is executed: receiving the word pattern and the graph encodings and displaying the message received or generated by the first electronic device on the display according to the graph encodings.

After step S4 or S5, the string displaying module 21 receives the word patterns and graph encodings transmitted, and display the message received or generated by the first electronic device 90 on the display according to the graph encodings. For example, assuming that the real-time message received by the first electronic device 90 is “

”, the string transmission control module 13 transmits three word patterns of “

”, “

” and “

”, two graph encodings representing “

”, and two graph encodings representing “

” and “

” respectively via the steps described above. Once the string displaying module 21 receives these word patterns and graph encodings, the string displaying module 21 displays four word patterns of “

”, “

” (because the number of graph encodings representing the word pattern of “

” is two), “

” and “

” on the display 82 according to the graph encodings. Therefore, the four words of “

” are displayed on the display 82.

Step 7 is executed: judging whether each word pattern received is the same as the stored word pattern.

In the embodiment of the invention, when the string displaying module 21 receives the word patterns and graph encodings transmitted from the string transmission control module 13, the storage control module 23 judges whether each word pattern received by the string displaying module 21 is the same as the stored word pattern already stored in the second electronic device 80 to determine whether to store the received word pattern in the buffer 83 according to whether the received word pattern and the stored word pattern are repetitive.

Step 8 is executed: storing the word pattern being not the same to the stored word pattern and all graph encodings in the buffer, and not storing the word patterns being the same to the stored word pattern in the buffer.

After executing step S7, the storage control module 23 stores the received word patterns not repetitive to the stored word pattern and all graph encodings in the buffer 83, and does not store the received word patterns repetitive to the stored word pattern in the buffer 83. For example, assuming that the string displaying module 21 transmits three word patterns of “

”, “

” and “

”, two graph encodings representing the word pattern of “

”, and two graph encodings representing the word patterns of “

” and “

” respectively, since the word pattern of “

” is already stored in the buffer 83 of the second electronic device 80 (that is, a stored word pattern), the storage control module 23 stores only the word patterns of “

” and “

” and all graph encodings in the buffer 83 without storing the word pattern of “

” in the buffer 83.

From the above, the information supply method separates the generation and the display of the content of the message, so that the electronic device having smaller memory space is responsible for the display of the message only, while the generation of the content of the message, that is, the generation of the word patterns and the corresponding graph encodings, is handled by the electronic device having larger memory space. With such technique, the issue of the incompleteness of the word library of the electronic device having smaller memory space can be solved.

Although the invention has been described with reference to specific embodiments, this description is not meant to be construed in a limiting sense. Various modifications of the disclosed embodiments, as well as alternative embodiments, will be apparent to persons skilled in the art. It is, therefore, contemplated that the appended claims will cover all modifications that fall within the true scope of the invention. 

What is claimed is:
 1. An Information supply method for displaying a message received or generated by a first electronic device on a display of a second electronic device, the information supply method comprising the steps of: receiving a request of displaying the message, wherein the request is generated according to the message received or generated by the first electronic device; generating a word string according to the request, wherein the word string includes at least one word pattern and at least one graph encoding correspondingly representing the at least one word pattern; transmitting the at least one word pattern and the at least one graph encoding from the first electronic device to the second electronic device; and receiving the at least one word pattern and the at least one graph encoding, and displaying the at least one word pattern corresponding to the message received or generated by the first electronic device on the display according to the at least one graph encoding.
 2. The information supply method according to claim 1, wherein the second electronic device further includes a buffer, and the information supply method further comprises the step of: storing the at least one word pattern and the at least one graph encoding in the buffer.
 3. The information supply method according to claim 2, wherein before storing the at least one word pattern and the at least one graph encoding in the buffer, the information supply method further comprises the steps of: judging whether the at least one word pattern is the same to a stored word pattern; if no, storing the at least one word pattern and the at least one graph encoding in the buffer; and if yes, storing the at least one graph encoding but not storing the at least one word pattern in the buffer.
 4. The information supply method according to claim 1, wherein the numbers of the at least one word pattern and the at least one graph encoding are in plural, and before transmitting the word patterns and the graph encodings, the information supply method further comprises the steps of: judging whether repetitive word patterns exist in the plurality of word patterns; if no, transmitting all of the plurality of word patterns and the plurality of graph encodings from the first electronic device to the second electronic device; and if yes, transmitting all of the plurality of graph encodings and at least one non-repetitive word pattern from the first electronic device to the second electronic device.
 5. The information supply method according to claim 1, wherein the first electronic device is a handheld electronic device, and the second electronic device is a wearable device.
 6. An Information supply system for displaying a message received or generated by a first electronic device on a display of a second electronic device, the information supply system comprising: a request receiving module receiving a request of displaying the message, wherein the request is generated according to the message received or generated by the first electronic device; a string generating module generating a word string according to the request, wherein the word string includes at least one word pattern and at least one graph encoding correspondingly representing the at least one word pattern; a string transmission control module transmitting the at least one word pattern and the at least one graph encoding from the first electronic device to the second electronic device; and a string displaying module receiving the at least one word pattern and the at least one graph encoding, and displaying the at least one word pattern corresponding to the message received or generated by the first electronic device on the display according to the at least one graph encoding.
 7. The information supply system according to claim 6, wherein the second electronic device further comprises a buffer, the information supply system further comprises a storage control module, the storage control module stores the at least one word pattern and the at least one graph encoding in the buffer.
 8. The information supply system according to claim 7, wherein the storage control module further judges whether the at least one word pattern is the same to a stored word pattern, and if yes, storing the at least one graph encoding but not storing the at least one word pattern in the buffer.
 9. The information supply system according to claim 6, wherein the numbers of the at least one word pattern and the at least one graph encoding are in plural; the string transmission control module further judges whether repetitive word patterns exist in the plurality of word patterns, and if yes, transmitting all of the plurality of graph encodings and at least one non-repetitive word pattern from the first electronic device to the second electronic device.
 10. The information supply system according to claim 6, wherein the first electronic device is a handheld electronic device, and the second electronic device is a wearable device.
 11. A word string supply system for a first electronic device, the first electronic device being capable of performing a signal communication with a second electronic device, the word string supply system comprising: a request receiving module receiving a request of displaying the message, wherein the request is generated according to the message received or generated by the first electronic device; a string generating module generating a word string according to the request, wherein the word string includes at least one word pattern and at least one graph encoding correspondingly representing the at least one word pattern; and a string transmission control module transmitting the at least one word pattern and the at least one graph encoding from the first electronic device to the second electronic device.
 12. The word string supply system according to claim 11, wherein the numbers of the at least one word pattern and the at least one graph encoding are in plural; the string transmission control module further judges whether repetitive word patterns exist in the plurality of word patterns, and if yes, transmitting all of the plurality of graph encodings and at least one non-repetitive word pattern from the first electronic device to the second electronic device.
 13. The word string supply system according to claim 11, wherein the first electronic device is a handheld electronic device, and the second electronic device is a wearable device. 